3.344 \(\int \frac{\left (a+b x^2\right )^p}{\left (c+d x^2\right )^2} \, dx\)

Optimal. Leaf size=57 \[ \frac{x \left (a+b x^2\right )^p \left (\frac{b x^2}{a}+1\right )^{-p} F_1\left (\frac{1}{2};-p,2;\frac{3}{2};-\frac{b x^2}{a},-\frac{d x^2}{c}\right )}{c^2} \]

[Out]

(x*(a + b*x^2)^p*AppellF1[1/2, -p, 2, 3/2, -((b*x^2)/a), -((d*x^2)/c)])/(c^2*(1
+ (b*x^2)/a)^p)

_______________________________________________________________________________________

Rubi [A]  time = 0.0697793, antiderivative size = 57, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.105 \[ \frac{x \left (a+b x^2\right )^p \left (\frac{b x^2}{a}+1\right )^{-p} F_1\left (\frac{1}{2};-p,2;\frac{3}{2};-\frac{b x^2}{a},-\frac{d x^2}{c}\right )}{c^2} \]

Antiderivative was successfully verified.

[In]  Int[(a + b*x^2)^p/(c + d*x^2)^2,x]

[Out]

(x*(a + b*x^2)^p*AppellF1[1/2, -p, 2, 3/2, -((b*x^2)/a), -((d*x^2)/c)])/(c^2*(1
+ (b*x^2)/a)^p)

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 27.6563, size = 44, normalized size = 0.77 \[ \frac{x \left (1 + \frac{b x^{2}}{a}\right )^{- p} \left (a + b x^{2}\right )^{p} \operatorname{appellf_{1}}{\left (\frac{1}{2},2,- p,\frac{3}{2},- \frac{d x^{2}}{c},- \frac{b x^{2}}{a} \right )}}{c^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((b*x**2+a)**p/(d*x**2+c)**2,x)

[Out]

x*(1 + b*x**2/a)**(-p)*(a + b*x**2)**p*appellf1(1/2, 2, -p, 3/2, -d*x**2/c, -b*x
**2/a)/c**2

_______________________________________________________________________________________

Mathematica [B]  time = 0.318779, size = 162, normalized size = 2.84 \[ -\frac{3 a c x \left (a+b x^2\right )^p F_1\left (\frac{1}{2};-p,2;\frac{3}{2};-\frac{b x^2}{a},-\frac{d x^2}{c}\right )}{\left (c+d x^2\right )^2 \left (-2 x^2 \left (b c p F_1\left (\frac{3}{2};1-p,2;\frac{5}{2};-\frac{b x^2}{a},-\frac{d x^2}{c}\right )-2 a d F_1\left (\frac{3}{2};-p,3;\frac{5}{2};-\frac{b x^2}{a},-\frac{d x^2}{c}\right )\right )-3 a c F_1\left (\frac{1}{2};-p,2;\frac{3}{2};-\frac{b x^2}{a},-\frac{d x^2}{c}\right )\right )} \]

Warning: Unable to verify antiderivative.

[In]  Integrate[(a + b*x^2)^p/(c + d*x^2)^2,x]

[Out]

(-3*a*c*x*(a + b*x^2)^p*AppellF1[1/2, -p, 2, 3/2, -((b*x^2)/a), -((d*x^2)/c)])/(
(c + d*x^2)^2*(-3*a*c*AppellF1[1/2, -p, 2, 3/2, -((b*x^2)/a), -((d*x^2)/c)] - 2*
x^2*(b*c*p*AppellF1[3/2, 1 - p, 2, 5/2, -((b*x^2)/a), -((d*x^2)/c)] - 2*a*d*Appe
llF1[3/2, -p, 3, 5/2, -((b*x^2)/a), -((d*x^2)/c)])))

_______________________________________________________________________________________

Maple [F]  time = 0.075, size = 0, normalized size = 0. \[ \int{\frac{ \left ( b{x}^{2}+a \right ) ^{p}}{ \left ( d{x}^{2}+c \right ) ^{2}}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((b*x^2+a)^p/(d*x^2+c)^2,x)

[Out]

int((b*x^2+a)^p/(d*x^2+c)^2,x)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (b x^{2} + a\right )}^{p}}{{\left (d x^{2} + c\right )}^{2}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x^2 + a)^p/(d*x^2 + c)^2,x, algorithm="maxima")

[Out]

integrate((b*x^2 + a)^p/(d*x^2 + c)^2, x)

_______________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{{\left (b x^{2} + a\right )}^{p}}{d^{2} x^{4} + 2 \, c d x^{2} + c^{2}}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x^2 + a)^p/(d*x^2 + c)^2,x, algorithm="fricas")

[Out]

integral((b*x^2 + a)^p/(d^2*x^4 + 2*c*d*x^2 + c^2), x)

_______________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x**2+a)**p/(d*x**2+c)**2,x)

[Out]

Timed out

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (b x^{2} + a\right )}^{p}}{{\left (d x^{2} + c\right )}^{2}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x^2 + a)^p/(d*x^2 + c)^2,x, algorithm="giac")

[Out]

integrate((b*x^2 + a)^p/(d*x^2 + c)^2, x)